package com.example.main.fragment.home.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.main.R
import com.example.main.fragment.home.bean.HomeNotionEntity

class HomeNotionAdapter: BaseQuickAdapter<HomeNotionEntity, BaseViewHolder>(R.layout.home_notion_item_layout) {
    override fun convert(helper: BaseViewHolder, item: HomeNotionEntity) {

            helper.setText(R.id.home_notion_title,item.title)
            helper.setText(R.id.home_notion_content,item.content)
            helper.setText(R.id.home_notion_time,item.publishTime)

    }
}